﻿using System.Collections.Generic;
using Unis.Framework.RuleBase.Common;
using KingRoad.EPM.PersonnelLogEntity.Model;

namespace KingRoad.EPM.PersonnelLogDAL.PlmDailysupervisionService
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:34:06
    /// </summary> 
    public class PlmDailysupervisionService : BaseService<PlmDailysupervisionInfo>, IPlmDailysupervisionService
    {
        /// <summary>
        /// 根据总监办标号，和施工日期分组查询信息
        /// </summary>
        /// <param name="strWhere">sql语句</param>
        /// <returns></returns>
        public List<PlmDailysupervisionInfo> GetInfoListGroupByDirectorSection(string strWhere = " 1=1 ")
        {
            var entity = DatabaseExcuteByXmlHelper.NewInstance.GetObjectsByXml<PlmDailysupervisionInfo>("PlmDailysupervision", "GroupObjectByDirectorSection", strWhere);
            return entity;
        }

    }

}
